﻿<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class frmMovimientoAlmacen
    Inherits DevComponents.DotNetBar.Office2007Form

    'Form reemplaza a Dispose para limpiar la lista de componentes.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Requerido por el Diseñador de Windows Forms
    Private components As System.ComponentModel.IContainer

    'NOTA: el Diseñador de Windows Forms necesita el siguiente procedimiento
    'Se puede modificar usando el Diseñador de Windows Forms.  
    'No lo modifique con el editor de código.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Dim DataGridViewCellStyle1 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
        Dim DataGridViewCellStyle2 As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle()
        Me.GPLista = New DevComponents.DotNetBar.Controls.GroupPanel()
        Me.DGVSeries = New TepcelPresentacion.DGVItemsSeries()
        Me.series = New System.Windows.Forms.DataGridViewTextBoxColumn()
        Me.DGVLista = New TepcelPresentacion.DGVItems()
        Me.item = New System.Windows.Forms.DataGridViewTextBoxColumn()
        Me.codigo = New System.Windows.Forms.DataGridViewTextBoxColumn()
        Me.descripcion = New System.Windows.Forms.DataGridViewTextBoxColumn()
        Me.cantidad = New System.Windows.Forms.DataGridViewTextBoxColumn()
        Me.GroupPanel1 = New DevComponents.DotNetBar.Controls.GroupPanel()
        Me.txtDescripcion = New DevComponents.DotNetBar.Controls.TextBoxX()
        Me.txtFechaemision = New DevComponents.DotNetBar.Controls.TextBoxX()
        Me.txtNumeroNota = New DevComponents.DotNetBar.Controls.TextBoxX()
        Me.txtSerieNota = New DevComponents.DotNetBar.Controls.TextBoxX()
        Me.txtCodigoNota = New DevComponents.DotNetBar.Controls.TextBoxX()
        Me.txtOrigenDestino = New DevComponents.DotNetBar.Controls.TextBoxX()
        Me.LabelX8 = New DevComponents.DotNetBar.LabelX()
        Me.lbOrigenDestino = New DevComponents.DotNetBar.LabelX()
        Me.LabelX5 = New DevComponents.DotNetBar.LabelX()
        Me.LabelX3 = New DevComponents.DotNetBar.LabelX()
        Me.LabelX2 = New DevComponents.DotNetBar.LabelX()
        Me.LabelX1 = New DevComponents.DotNetBar.LabelX()
        Me.btnNuevo = New DevComponents.DotNetBar.ButtonX()
        Me.btnGuardar = New DevComponents.DotNetBar.ButtonX()
        Me.GroupPanel2 = New DevComponents.DotNetBar.Controls.GroupPanel()
        Me.btnGenerarGuia = New DevComponents.DotNetBar.ButtonX()
        Me.btnCancelar = New DevComponents.DotNetBar.ButtonX()
        Me.ContextMenuBar1 = New DevComponents.DotNetBar.ContextMenuBar()
        Me.CMGridSeries = New DevComponents.DotNetBar.ButtonItem()
        Me.btnAgregarSerie = New DevComponents.DotNetBar.ButtonItem()
        Me.btnQuitarSerie = New DevComponents.DotNetBar.ButtonItem()
        Me.CMGridLista = New DevComponents.DotNetBar.ButtonItem()
        Me.btnAgregar = New DevComponents.DotNetBar.ButtonItem()
        Me.btnQuitar = New DevComponents.DotNetBar.ButtonItem()
        Me.GPLista.SuspendLayout()
        CType(Me.DGVSeries, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.DGVLista, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.GroupPanel1.SuspendLayout()
        Me.GroupPanel2.SuspendLayout()
        CType(Me.ContextMenuBar1, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'GPLista
        '
        Me.GPLista.CanvasColor = System.Drawing.SystemColors.Control
        Me.GPLista.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007
        Me.GPLista.Controls.Add(Me.DGVSeries)
        Me.GPLista.Controls.Add(Me.DGVLista)
        Me.GPLista.Location = New System.Drawing.Point(12, 163)
        Me.GPLista.Name = "GPLista"
        Me.GPLista.Size = New System.Drawing.Size(729, 265)
        '
        '
        '
        Me.GPLista.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2
        Me.GPLista.Style.BackColorGradientAngle = 90
        Me.GPLista.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground
        Me.GPLista.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid
        Me.GPLista.Style.BorderBottomWidth = 1
        Me.GPLista.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder
        Me.GPLista.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid
        Me.GPLista.Style.BorderLeftWidth = 1
        Me.GPLista.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid
        Me.GPLista.Style.BorderRightWidth = 1
        Me.GPLista.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid
        Me.GPLista.Style.BorderTopWidth = 1
        Me.GPLista.Style.Class = ""
        Me.GPLista.Style.CornerDiameter = 4
        Me.GPLista.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded
        Me.GPLista.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center
        Me.GPLista.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText
        Me.GPLista.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near
        '
        '
        '
        Me.GPLista.StyleMouseDown.Class = ""
        Me.GPLista.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square
        '
        '
        '
        Me.GPLista.StyleMouseOver.Class = ""
        Me.GPLista.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.GPLista.TabIndex = 13
        '
        'DGVSeries
        '
        Me.DGVSeries.AllowUserToAddRows = False
        Me.DGVSeries.AllowUserToDeleteRows = False
        Me.DGVSeries.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
        Me.DGVSeries.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.series})
        Me.ContextMenuBar1.SetContextMenuEx(Me.DGVSeries, Me.CMGridSeries)
        DataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
        DataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window
        DataGridViewCellStyle1.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        DataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText
        DataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight
        DataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText
        DataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
        Me.DGVSeries.DefaultCellStyle = DataGridViewCellStyle1
        Me.DGVSeries.Enabled = False
        Me.DGVSeries.GridColor = System.Drawing.Color.FromArgb(CType(CType(208, Byte), Integer), CType(CType(215, Byte), Integer), CType(CType(229, Byte), Integer))
        Me.DGVSeries.Location = New System.Drawing.Point(539, 3)
        Me.DGVSeries.MultiSelect = False
        Me.DGVSeries.Name = "DGVSeries"
        Me.DGVSeries.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
        Me.DGVSeries.Size = New System.Drawing.Size(168, 241)
        Me.DGVSeries.TabIndex = 5
        '
        'series
        '
        Me.series.HeaderText = "Series"
        Me.series.Name = "series"
        '
        'DGVLista
        '
        Me.DGVLista.AllowUserToAddRows = False
        Me.DGVLista.AllowUserToDeleteRows = False
        Me.DGVLista.AllowUserToOrderColumns = True
        Me.DGVLista.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize
        Me.DGVLista.Columns.AddRange(New System.Windows.Forms.DataGridViewColumn() {Me.item, Me.codigo, Me.descripcion, Me.cantidad})
        Me.ContextMenuBar1.SetContextMenuEx(Me.DGVLista, Me.CMGridLista)
        DataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft
        DataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window
        DataGridViewCellStyle2.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        DataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText
        DataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight
        DataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText
        DataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.[False]
        Me.DGVLista.DefaultCellStyle = DataGridViewCellStyle2
        Me.DGVLista.Enabled = False
        Me.DGVLista.GridColor = System.Drawing.Color.FromArgb(CType(CType(208, Byte), Integer), CType(CType(215, Byte), Integer), CType(CType(229, Byte), Integer))
        Me.DGVLista.Location = New System.Drawing.Point(9, 3)
        Me.DGVLista.MultiSelect = False
        Me.DGVLista.Name = "DGVLista"
        Me.DGVLista.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect
        Me.DGVLista.Size = New System.Drawing.Size(524, 241)
        Me.DGVLista.TabIndex = 4
        '
        'item
        '
        Me.item.HeaderText = "Item"
        Me.item.Name = "item"
        Me.item.Visible = False
        Me.item.Width = 80
        '
        'codigo
        '
        Me.codigo.HeaderText = "Código"
        Me.codigo.Name = "codigo"
        Me.codigo.Width = 60
        '
        'descripcion
        '
        Me.descripcion.HeaderText = "Descripción"
        Me.descripcion.Name = "descripcion"
        Me.descripcion.Width = 320
        '
        'cantidad
        '
        Me.cantidad.HeaderText = "Cantidad"
        Me.cantidad.Name = "cantidad"
        Me.cantidad.Width = 60
        '
        'GroupPanel1
        '
        Me.GroupPanel1.CanvasColor = System.Drawing.SystemColors.Control
        Me.GroupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007
        Me.GroupPanel1.Controls.Add(Me.txtDescripcion)
        Me.GroupPanel1.Controls.Add(Me.txtFechaemision)
        Me.GroupPanel1.Controls.Add(Me.txtNumeroNota)
        Me.GroupPanel1.Controls.Add(Me.txtSerieNota)
        Me.GroupPanel1.Controls.Add(Me.txtCodigoNota)
        Me.GroupPanel1.Controls.Add(Me.txtOrigenDestino)
        Me.GroupPanel1.Controls.Add(Me.LabelX8)
        Me.GroupPanel1.Controls.Add(Me.lbOrigenDestino)
        Me.GroupPanel1.Controls.Add(Me.LabelX5)
        Me.GroupPanel1.Controls.Add(Me.LabelX3)
        Me.GroupPanel1.Controls.Add(Me.LabelX2)
        Me.GroupPanel1.Controls.Add(Me.LabelX1)
        Me.GroupPanel1.Location = New System.Drawing.Point(12, 12)
        Me.GroupPanel1.Name = "GroupPanel1"
        Me.GroupPanel1.Size = New System.Drawing.Size(729, 145)
        '
        '
        '
        Me.GroupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2
        Me.GroupPanel1.Style.BackColorGradientAngle = 90
        Me.GroupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground
        Me.GroupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid
        Me.GroupPanel1.Style.BorderBottomWidth = 1
        Me.GroupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder
        Me.GroupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid
        Me.GroupPanel1.Style.BorderLeftWidth = 1
        Me.GroupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid
        Me.GroupPanel1.Style.BorderRightWidth = 1
        Me.GroupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid
        Me.GroupPanel1.Style.BorderTopWidth = 1
        Me.GroupPanel1.Style.Class = ""
        Me.GroupPanel1.Style.CornerDiameter = 4
        Me.GroupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded
        Me.GroupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center
        Me.GroupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText
        Me.GroupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near
        '
        '
        '
        Me.GroupPanel1.StyleMouseDown.Class = ""
        Me.GroupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square
        '
        '
        '
        Me.GroupPanel1.StyleMouseOver.Class = ""
        Me.GroupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.GroupPanel1.TabIndex = 0
        '
        'txtDescripcion
        '
        '
        '
        '
        Me.txtDescripcion.Border.Class = "TextBoxBorder"
        Me.txtDescripcion.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.txtDescripcion.Enabled = False
        Me.txtDescripcion.Location = New System.Drawing.Point(80, 76)
        Me.txtDescripcion.Multiline = True
        Me.txtDescripcion.Name = "txtDescripcion"
        Me.txtDescripcion.Size = New System.Drawing.Size(627, 56)
        Me.txtDescripcion.TabIndex = 3
        '
        'txtFechaemision
        '
        '
        '
        '
        Me.txtFechaemision.Border.Class = "TextBoxBorder"
        Me.txtFechaemision.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.txtFechaemision.Enabled = False
        Me.txtFechaemision.Location = New System.Drawing.Point(575, 9)
        Me.txtFechaemision.Name = "txtFechaemision"
        Me.txtFechaemision.ReadOnly = True
        Me.txtFechaemision.Size = New System.Drawing.Size(132, 20)
        Me.txtFechaemision.TabIndex = 0
        '
        'txtNumeroNota
        '
        '
        '
        '
        Me.txtNumeroNota.Border.Class = "TextBoxBorder"
        Me.txtNumeroNota.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.txtNumeroNota.Enabled = False
        Me.txtNumeroNota.Location = New System.Drawing.Point(379, 9)
        Me.txtNumeroNota.Name = "txtNumeroNota"
        Me.txtNumeroNota.ReadOnly = True
        Me.txtNumeroNota.Size = New System.Drawing.Size(133, 20)
        Me.txtNumeroNota.TabIndex = 0
        '
        'txtSerieNota
        '
        '
        '
        '
        Me.txtSerieNota.Border.Class = "TextBoxBorder"
        Me.txtSerieNota.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.txtSerieNota.Enabled = False
        Me.txtSerieNota.Location = New System.Drawing.Point(249, 9)
        Me.txtSerieNota.Name = "txtSerieNota"
        Me.txtSerieNota.ReadOnly = True
        Me.txtSerieNota.Size = New System.Drawing.Size(61, 20)
        Me.txtSerieNota.TabIndex = 0
        '
        'txtCodigoNota
        '
        '
        '
        '
        Me.txtCodigoNota.Border.Class = "TextBoxBorder"
        Me.txtCodigoNota.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.txtCodigoNota.Enabled = False
        Me.txtCodigoNota.Location = New System.Drawing.Point(80, 9)
        Me.txtCodigoNota.Name = "txtCodigoNota"
        Me.txtCodigoNota.ReadOnly = True
        Me.txtCodigoNota.Size = New System.Drawing.Size(104, 20)
        Me.txtCodigoNota.TabIndex = 0
        '
        'txtOrigenDestino
        '
        '
        '
        '
        Me.txtOrigenDestino.Border.Class = "TextBoxBorder"
        Me.txtOrigenDestino.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.txtOrigenDestino.Enabled = False
        Me.txtOrigenDestino.Location = New System.Drawing.Point(80, 41)
        Me.txtOrigenDestino.Name = "txtOrigenDestino"
        Me.txtOrigenDestino.Size = New System.Drawing.Size(627, 20)
        Me.txtOrigenDestino.TabIndex = 2
        '
        'LabelX8
        '
        '
        '
        '
        Me.LabelX8.BackgroundStyle.Class = ""
        Me.LabelX8.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.LabelX8.Location = New System.Drawing.Point(9, 75)
        Me.LabelX8.Name = "LabelX8"
        Me.LabelX8.Size = New System.Drawing.Size(65, 20)
        Me.LabelX8.TabIndex = 10
        Me.LabelX8.Text = "Descripción:"
        '
        'lbOrigenDestino
        '
        '
        '
        '
        Me.lbOrigenDestino.BackgroundStyle.Class = ""
        Me.lbOrigenDestino.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.lbOrigenDestino.Location = New System.Drawing.Point(9, 41)
        Me.lbOrigenDestino.Name = "lbOrigenDestino"
        Me.lbOrigenDestino.Size = New System.Drawing.Size(59, 20)
        Me.lbOrigenDestino.TabIndex = 10
        Me.lbOrigenDestino.Text = "Origen:"
        '
        'LabelX5
        '
        '
        '
        '
        Me.LabelX5.BackgroundStyle.Class = ""
        Me.LabelX5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.LabelX5.Location = New System.Drawing.Point(529, 9)
        Me.LabelX5.Name = "LabelX5"
        Me.LabelX5.Size = New System.Drawing.Size(40, 20)
        Me.LabelX5.TabIndex = 10
        Me.LabelX5.Text = "Fecha:"
        '
        'LabelX3
        '
        '
        '
        '
        Me.LabelX3.BackgroundStyle.Class = ""
        Me.LabelX3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.LabelX3.Location = New System.Drawing.Point(326, 9)
        Me.LabelX3.Name = "LabelX3"
        Me.LabelX3.Size = New System.Drawing.Size(47, 20)
        Me.LabelX3.TabIndex = 10
        Me.LabelX3.Text = "Número:"
        '
        'LabelX2
        '
        '
        '
        '
        Me.LabelX2.BackgroundStyle.Class = ""
        Me.LabelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.LabelX2.Location = New System.Drawing.Point(208, 9)
        Me.LabelX2.Name = "LabelX2"
        Me.LabelX2.Size = New System.Drawing.Size(35, 20)
        Me.LabelX2.TabIndex = 10
        Me.LabelX2.Text = "Serie:"
        '
        'LabelX1
        '
        '
        '
        '
        Me.LabelX1.BackgroundStyle.Class = ""
        Me.LabelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.LabelX1.Location = New System.Drawing.Point(9, 9)
        Me.LabelX1.Name = "LabelX1"
        Me.LabelX1.Size = New System.Drawing.Size(42, 20)
        Me.LabelX1.TabIndex = 10
        Me.LabelX1.Text = "Código:"
        '
        'btnNuevo
        '
        Me.btnNuevo.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton
        Me.btnNuevo.CallBasePaintBackground = True
        Me.btnNuevo.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground
        Me.btnNuevo.Location = New System.Drawing.Point(177, 7)
        Me.btnNuevo.Name = "btnNuevo"
        Me.btnNuevo.Size = New System.Drawing.Size(122, 30)
        Me.btnNuevo.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled
        Me.btnNuevo.TabIndex = 1
        Me.btnNuevo.Text = "Nuevo"
        '
        'btnGuardar
        '
        Me.btnGuardar.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton
        Me.btnGuardar.CallBasePaintBackground = True
        Me.btnGuardar.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground
        Me.btnGuardar.Enabled = False
        Me.btnGuardar.Location = New System.Drawing.Point(305, 7)
        Me.btnGuardar.Name = "btnGuardar"
        Me.btnGuardar.Size = New System.Drawing.Size(122, 30)
        Me.btnGuardar.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled
        Me.btnGuardar.TabIndex = 6
        Me.btnGuardar.Text = "Guardar"
        '
        'GroupPanel2
        '
        Me.GroupPanel2.CanvasColor = System.Drawing.SystemColors.Control
        Me.GroupPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007
        Me.GroupPanel2.Controls.Add(Me.btnNuevo)
        Me.GroupPanel2.Controls.Add(Me.btnGenerarGuia)
        Me.GroupPanel2.Controls.Add(Me.btnCancelar)
        Me.GroupPanel2.Controls.Add(Me.btnGuardar)
        Me.GroupPanel2.Location = New System.Drawing.Point(12, 436)
        Me.GroupPanel2.Name = "GroupPanel2"
        Me.GroupPanel2.Size = New System.Drawing.Size(729, 49)
        '
        '
        '
        Me.GroupPanel2.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2
        Me.GroupPanel2.Style.BackColorGradientAngle = 90
        Me.GroupPanel2.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground
        Me.GroupPanel2.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid
        Me.GroupPanel2.Style.BorderBottomWidth = 1
        Me.GroupPanel2.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder
        Me.GroupPanel2.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid
        Me.GroupPanel2.Style.BorderLeftWidth = 1
        Me.GroupPanel2.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid
        Me.GroupPanel2.Style.BorderRightWidth = 1
        Me.GroupPanel2.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid
        Me.GroupPanel2.Style.BorderTopWidth = 1
        Me.GroupPanel2.Style.Class = ""
        Me.GroupPanel2.Style.CornerDiameter = 4
        Me.GroupPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded
        Me.GroupPanel2.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center
        Me.GroupPanel2.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText
        Me.GroupPanel2.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near
        '
        '
        '
        Me.GroupPanel2.StyleMouseDown.Class = ""
        Me.GroupPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square
        '
        '
        '
        Me.GroupPanel2.StyleMouseOver.Class = ""
        Me.GroupPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square
        Me.GroupPanel2.TabIndex = 0
        '
        'btnGenerarGuia
        '
        Me.btnGenerarGuia.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton
        Me.btnGenerarGuia.CallBasePaintBackground = True
        Me.btnGenerarGuia.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground
        Me.btnGenerarGuia.Enabled = False
        Me.btnGenerarGuia.Location = New System.Drawing.Point(562, 7)
        Me.btnGenerarGuia.Name = "btnGenerarGuia"
        Me.btnGenerarGuia.Size = New System.Drawing.Size(145, 30)
        Me.btnGenerarGuia.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled
        Me.btnGenerarGuia.TabIndex = 7
        Me.btnGenerarGuia.Text = "Generar Guía Remisión"
        '
        'btnCancelar
        '
        Me.btnCancelar.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton
        Me.btnCancelar.CallBasePaintBackground = True
        Me.btnCancelar.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground
        Me.btnCancelar.Enabled = False
        Me.btnCancelar.Location = New System.Drawing.Point(434, 7)
        Me.btnCancelar.Name = "btnCancelar"
        Me.btnCancelar.Size = New System.Drawing.Size(122, 30)
        Me.btnCancelar.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled
        Me.btnCancelar.TabIndex = 7
        Me.btnCancelar.Text = "Cancelar"
        '
        'ContextMenuBar1
        '
        Me.ContextMenuBar1.AntiAlias = True
        Me.ContextMenuBar1.Items.AddRange(New DevComponents.DotNetBar.BaseItem() {Me.CMGridLista, Me.CMGridSeries})
        Me.ContextMenuBar1.Location = New System.Drawing.Point(765, 436)
        Me.ContextMenuBar1.Name = "ContextMenuBar1"
        Me.ContextMenuBar1.Size = New System.Drawing.Size(190, 25)
        Me.ContextMenuBar1.Stretch = True
        Me.ContextMenuBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled
        Me.ContextMenuBar1.TabIndex = 16
        Me.ContextMenuBar1.TabStop = False
        Me.ContextMenuBar1.Text = "ContextMenuBar1"
        '
        'CMGridSeries
        '
        Me.CMGridSeries.AutoExpandOnClick = True
        Me.CMGridSeries.Name = "CMGridSeries"
        Me.CMGridSeries.SubItems.AddRange(New DevComponents.DotNetBar.BaseItem() {Me.btnAgregarSerie, Me.btnQuitarSerie})
        Me.CMGridSeries.Text = "Menu Series"
        '
        'btnAgregarSerie
        '
        Me.btnAgregarSerie.Name = "btnAgregarSerie"
        Me.btnAgregarSerie.Text = "Agregar"
        '
        'btnQuitarSerie
        '
        Me.btnQuitarSerie.Name = "btnQuitarSerie"
        Me.btnQuitarSerie.Text = "Eliminar"
        '
        'CMGridLista
        '
        Me.CMGridLista.AutoExpandOnClick = True
        Me.CMGridLista.Name = "CMGridLista"
        Me.CMGridLista.SubItems.AddRange(New DevComponents.DotNetBar.BaseItem() {Me.btnAgregar, Me.btnQuitar})
        Me.CMGridLista.Text = "Menu Grid Lista"
        '
        'btnAgregar
        '
        Me.btnAgregar.Name = "btnAgregar"
        Me.btnAgregar.Text = "Agregar"
        '
        'btnQuitar
        '
        Me.btnQuitar.Name = "btnQuitar"
        Me.btnQuitar.Text = "Eliminar"
        '
        'frmMovimientoAlmacen
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(756, 497)
        Me.Controls.Add(Me.ContextMenuBar1)
        Me.Controls.Add(Me.GroupPanel2)
        Me.Controls.Add(Me.GPLista)
        Me.Controls.Add(Me.GroupPanel1)
        Me.DoubleBuffered = True
        Me.Name = "frmMovimientoAlmacen"
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
        Me.Text = "MovimientoAlmacen"
        Me.GPLista.ResumeLayout(False)
        CType(Me.DGVSeries, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.DGVLista, System.ComponentModel.ISupportInitialize).EndInit()
        Me.GroupPanel1.ResumeLayout(False)
        Me.GroupPanel2.ResumeLayout(False)
        CType(Me.ContextMenuBar1, System.ComponentModel.ISupportInitialize).EndInit()
        Me.ResumeLayout(False)

    End Sub
    Friend WithEvents GPLista As DevComponents.DotNetBar.Controls.GroupPanel
    Friend WithEvents GroupPanel1 As DevComponents.DotNetBar.Controls.GroupPanel
    Friend WithEvents txtDescripcion As DevComponents.DotNetBar.Controls.TextBoxX
    Friend WithEvents txtCodigoNota As DevComponents.DotNetBar.Controls.TextBoxX
    Friend WithEvents txtOrigenDestino As DevComponents.DotNetBar.Controls.TextBoxX
    Friend WithEvents LabelX8 As DevComponents.DotNetBar.LabelX
    Friend WithEvents lbOrigenDestino As DevComponents.DotNetBar.LabelX
    Friend WithEvents LabelX3 As DevComponents.DotNetBar.LabelX
    Friend WithEvents LabelX2 As DevComponents.DotNetBar.LabelX
    Friend WithEvents LabelX1 As DevComponents.DotNetBar.LabelX
    Friend WithEvents txtSerieNota As DevComponents.DotNetBar.Controls.TextBoxX
    Friend WithEvents txtNumeroNota As DevComponents.DotNetBar.Controls.TextBoxX
    Friend WithEvents txtFechaemision As DevComponents.DotNetBar.Controls.TextBoxX
    Friend WithEvents LabelX5 As DevComponents.DotNetBar.LabelX
    Friend WithEvents btnNuevo As DevComponents.DotNetBar.ButtonX
    Friend WithEvents btnGuardar As DevComponents.DotNetBar.ButtonX
    Friend WithEvents GroupPanel2 As DevComponents.DotNetBar.Controls.GroupPanel
    Friend WithEvents btnCancelar As DevComponents.DotNetBar.ButtonX
    Friend WithEvents item As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents codigo As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents descripcion As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents cantidad As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents DGVLista As TepcelPresentacion.DGVItems
    Friend WithEvents DGVSeries As TepcelPresentacion.DGVItemsSeries
    Friend WithEvents ContextMenuBar1 As DevComponents.DotNetBar.ContextMenuBar
    Friend WithEvents CMGridLista As DevComponents.DotNetBar.ButtonItem
    Friend WithEvents btnAgregar As DevComponents.DotNetBar.ButtonItem
    Friend WithEvents btnQuitar As DevComponents.DotNetBar.ButtonItem
    Friend WithEvents CMGridSeries As DevComponents.DotNetBar.ButtonItem
    Friend WithEvents btnAgregarSerie As DevComponents.DotNetBar.ButtonItem
    Friend WithEvents btnQuitarSerie As DevComponents.DotNetBar.ButtonItem
    Friend WithEvents series As System.Windows.Forms.DataGridViewTextBoxColumn
    Friend WithEvents btnGenerarGuia As DevComponents.DotNetBar.ButtonX
End Class

'se agraga una clase para manejar las funciones del data gridviewx detalle
Public Class DGVItems
    Inherits DevComponents.DotNetBar.Controls.DataGridViewX
    'ProcessDialogKey() cuando estamos en edición
    Protected Overrides Function ProcessDialogKey(ByVal KeyData As System.Windows.Forms.Keys) As Boolean
        If Me.Rows.Count > 0 Then
            If KeyData = Keys.Enter Then 'Si es Enter
                If Me.CurrentCell.ColumnIndex = Me.ColumnCount - 1 Then 'Si no Salimos del límite
                    frmMovimientoAlmacen.Instance().AgregarFilaDetalle()
                    Return True
                ElseIf Me.CurrentCell.ColumnIndex = 2 Then
                    'ABRIR LA VENTANA BUSCAR PRODUCTO
                    If Not Me.Rows(Me.CurrentRow.Index).Cells(1).Value Is Nothing Then
                        Return True
                    End If
                    Me.CurrentCell = Me.Rows(Me.Rows.Count - 1).Cells(3)
                    Me.BeginEdit(False)
                    frmMovimientoAlmacen.Instance().BuscarProducto(Me.CurrentCell.RowIndex)
                    Return True
                End If
                SendKeys.Send(Chr(Keys.Tab)) 'enviar un Tab
                Return True 'marcar como procesado
            Else
                If Me.CurrentCell.ColumnIndex = 1 Then
                    Return True
                ElseIf Me.CurrentCell.ColumnIndex = 2 Then
                    If Not Me.Rows(Me.CurrentRow.Index).Cells(1).Value Is Nothing Then
                        Return True
                    End If
                ElseIf Me.CurrentCell.ColumnIndex = 3 Then
                    If KeyData = Keys.Tab Then
                        Return MyBase.ProcessDialogKey(KeyData)
                    End If
                    'si tiene series no se puede cambiar la cantidad
                    If frmMovimientoAlmacen.Instance().DGVSeries.Rows.Count > 0 Then
                        Return True
                    End If
                    If KeyData = Keys.Back Or KeyData = Keys.Delete Then
                        Return MyBase.ProcessDialogKey(KeyData)
                    End If
                    'aceptar solamente numeros
                    If KeyData < 48 Or KeyData > 57 Then
                        Return True
                    End If

                    'verificar si tiene stock
                    If Me.CurrentRow.Cells(0).Value Is Nothing Then
                        Return True
                    End If

                    'no permitir ingresar el cero primero: 01
                    If Me.CurrentCell.EditedFormattedValue & Chr(KeyData) = 0 Then
                        Return True
                    End If

                    'si es salida la cantidad no debe ser mayor al stock
                    If frmMovimientoAlmacen.tipoNota = "S" Then
                        If CInt(Me.CurrentCell.EditedFormattedValue & Chr(KeyData)) > Me.CurrentRow.Cells(0).Value Then
                            MsgBox("La cantidad es mayor al Stock disponible" & vbCrLf & vbCrLf & "Stock Actual: " & Me.CurrentRow.Cells(0).Value & vbCrLf & "Cantidad Solicitada: " & Me.CurrentCell.EditedFormattedValue & Chr(KeyData))
                            Return True
                        End If
                    End If

                    End If

                    Return MyBase.ProcessDialogKey(KeyData) 'Devolver KeyData
            End If
        Else
            Return MyBase.ProcessDialogKey(KeyData)
        End If
    End Function
    'OnKeyDown() cuando no estamos en edición
    Protected Overrides Sub OnKeyDown(ByVal e As System.Windows.Forms.KeyEventArgs)
        If e.KeyData = Keys.Enter Then 'Si es Enter
            frmMovimientoAlmacen.Instance().AgregarFilaDetalle()
        Else
            MyBase.OnKeyDown(e) 'Devolver KeyEventArgs
        End If
    End Sub

End Class


'se agraga una clase para manejar las funciones del data gridviewx series
Public Class DGVItemsSeries
    Inherits DevComponents.DotNetBar.Controls.DataGridViewX
    'ProcessDialogKey() cuando estamos en edición
    Protected Overrides Function ProcessDialogKey(ByVal KeyData As System.Windows.Forms.Keys) As Boolean
        If KeyData = Keys.Enter Then 'Si es Enter
            If Me.CurrentCell.ColumnIndex = Me.ColumnCount - 1 Then 'Si no Salimos del límite
                frmMovimientoAlmacen.Instance().AgregarFilaSerie()
                Return True
            End If
            Return True 'marcar como procesado
        Else
            Return MyBase.ProcessDialogKey(KeyData) 'Devolver KeyData
        End If
    End Function

    'OnKeyDown() cuando no estamos en edición
    Protected Overrides Sub OnKeyDown(ByVal e As System.Windows.Forms.KeyEventArgs)
        If e.KeyData = Keys.Enter Then 'Si es Enter
            frmMovimientoAlmacen.Instance().AgregarFilaSerie()
        Else
            MyBase.OnKeyDown(e) 'Devolver KeyEventArgs
        End If
    End Sub

End Class